﻿<Router AppAssembly="@GetType().Assembly" AdditionalAssemblies="new[] { typeof(Counter).Assembly }">
	<Found Context="routeData">
		<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
	</Found>
	<NotFound>
		<LayoutView Layout="@typeof(ErrorLayout)">
			<p class="validation-message">Sorry, there's nothing at this address.</p>
		</LayoutView>
	</NotFound>
</Router>

@code
{
	[Parameter]
	public string? Foo { get; set; }
}